package com.hanserwei.community.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hanserwei.community.entity.po.User;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hanserwei.community.entity.request.user.*;
import com.hanserwei.community.entity.vo.UserVO;

public interface UserService extends IService<User>{


    UserVO userLogin(UserLoginRequest request);

    UserVO userRegister(UserRegisterRequest request);

    Page<User> queryUserByPage(UserQueryRequest request);

    User addUser(UserAddRequest request);

    boolean updateUser(UserUpdateRequest request, Integer id);
}
